package com.example.hydropowermanage.service;

import com.example.hydropowermanage.mapper.ImageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImageService {
    // 更新user数据库中的user_avaterurl字段
    @Autowired
    ImageMapper imageMapper;
    public void updateAvaterurl(String userAvaterurl, int userid) {
        imageMapper.updateAvaterurl(userAvaterurl, userid);
    }
}
